﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace NB.MGJ.Web.Controllers
{
    public partial class ProductController
    {


        //-------------------------------------------产品目录start---------------------------------//


        public ActionResult getClassifyTree()
        {
            var result = _productService.GetClassifyTreeByEID();
            return Json(result);
        }



        public ActionResult GetClassifyByFatherId(int fatherId)
        {

            var classifyList = _productService.GetClassifyByFatherId(fatherId);
            return Json(classifyList);
        }



        public ActionResult GetClassifyByFatherIds(string fatherIds)
        {
            var classifyList = _productService.GetClassifyByFatherIds(fatherIds);
            return Json(classifyList);
        }





        
       
        




	}
}